package com.maochang.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.maochang.pojo.PsInspectiontaskDetail;
import com.maochang.pojo.PsInspectiontaskMain;
import com.maochang.pojo.PsPoleInfo;
import com.maochang.pojo.PsSystemconfig;
import com.maochang.pojo.util.ResultDT;

import javax.servlet.http.HttpSession;
import java.util.List;


public interface XunJianRenWuZhiXingService extends IService<PsInspectiontaskMain> {

    Page<PsInspectiontaskMain> ChaXjZhiXing(PsInspectiontaskMain ps,String kai,String jie, int page, int size,HttpSession httpSession);

    /*下拉框查询*/
    List<PsSystemconfig> ChaXia();

    ResultDT ChaXina(String lineName);

    /*根据线路名称查询*/
    PsPoleInfo ChaLu(PsPoleInfo poleCode);

    /*回执缺陷类型下拉查询*/
    List<PsSystemconfig> ChaQueLei();

    /*回执缺陷级别下拉查询*/
    List<PsSystemconfig> ChaQueJi();

    /*回执子表新增*/
    String addPsIt(PsInspectiontaskDetail psInspectiontaskDetail);

    /*回执死值修改*/

    boolean SiZhiXiu(PsInspectiontaskMain id);

    /*查看点击左边*/
    PsInspectiontaskDetail ChaKanLu(PsInspectiontaskDetail psInspectiontaskDetail);

    /*执行死值修改*/
    boolean ZhiSiZhiXiu(PsInspectiontaskMain id);

    /*时间死值修改*/
    boolean ShiJianSiZhiXiu(PsInspectiontaskMain id);

    /*操作修改*/
    boolean CaoZuoXiuGai(PsInspectiontaskDetail psInspectiontaskDetail);

    /*小版块缺陷查询*/
    Page<PsInspectiontaskDetail> QueXianCha(PsInspectiontaskDetail ps,String kai,String jie,String kai1,String jie1, int page, int size);
     Page<PsInspectiontaskDetail> QueXianCha2(PsInspectiontaskDetail ps, String kai, String jie, String kai1, String jie1, int page, int size, HttpSession session);
}
